package com.franklin.ideaplugin.easytesting.utils;

import com.intellij.uiDesigner.core.GridLayoutManager;

/**
 * @author Ye Junhui
 * @since 2023/5/12
 */
public class SwingUtils {

    public static GridLayoutManager createLayoutManager(int rowCount, int columnCount){
        GridLayoutManager gridLayoutManager = new GridLayoutManager(rowCount, columnCount);
        gridLayoutManager.setVGap(1);
        gridLayoutManager.setHGap(1);
        return gridLayoutManager;
    }
}
